package cn.wen.yaling.xo.dao;

import cn.wen.yaling.commons.entity.SubjectEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * 
 * 
 * @author FY
 * @email 932043654@qq.com
 * @date 2022-08-13 02:07:37
 */
@Mapper
@Component
public interface SubjectDao extends BaseMapper<SubjectEntity> {

    /**
     * 修改专题状态为 逻辑删除状态
     * @param subjectIds
     * @param status
     * @return
     */
    boolean updateByIds(@Param("subjectIds") Integer[] subjectIds, @Param("status") int status);

}
